/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.acq.dao.fammer;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.thinkgem.jeesite.common.persistence.CrudDao;
import com.thinkgem.jeesite.common.persistence.annotation.MyBatisDao;
import com.thinkgem.jeesite.modules.acq.entity.fammer.AcqFarmer;

/**
 * 农户信息DAO接口
 * 
 * @author lj
 * @version 2018-04-12
 */
@MyBatisDao
public interface AcqFarmerDao extends CrudDao<AcqFarmer> {
	public List<Map<String, Object>> fammerjson(AcqFarmer acqFarmer);

	public List<Map<String, Object>> fammers(AcqFarmer acqFarmer);

	public List<Map<String, Object>> infojson(AcqFarmer acqFarmer);

	public Integer checkIdCard(AcqFarmer acqFarmer);

	public List<Map<String, Object>> pie(@Param("areaId") String areaId);

	public List<Map<String, Object>> line(@Param("areaId") String areaId);

	public Integer totalFamily(@Param("areaId") String areaId);

	public Integer totalPeople(@Param("areaId") String areaId);
	
	public Integer deletePlant(AcqFarmer acqFarmer);
	
	public Integer deleteBreed(AcqFarmer acqFarmer);

}